package cn.gjculture.shopping.api.service;

import cn.gjculture.shopping.api.entity.Banner;
import cn.gjculture.shopping.api.entity.Return;

import java.util.List;

public interface BannerService {
    int insert(Banner banner);

    int update(Banner banner);

    List<Banner> query();

    Banner queryById(String id);

    int delete(String id, Return<Banner> ret);
}
